package com.micro.order.feign;

import com.micro.model.Order;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "order-service")
public interface OrderServiceClient {
    Order getOrder(@PathVariable("id") Long id);
}
